package cn.hk.user.service;

import cn.hk.user.domain.UserInfo;
import cn.hk.user.domain.vo.FamilyPersonVo;
import cn.hk.user.domain.vo.WxLoginUserInfoVo;
import cn.hk.user.domain.vo.WxLoginBodyVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;

import java.util.Map;


/**
 * <p>
 * app用户表 服务类
 * </p>
 *
 * @author xu
 * @since 2023-03-07
 */
public interface UserInfoService extends IService<UserInfo> {

    AjaxResult addFamilyMember(FamilyPersonVo familyPersonVo);

    AjaxResult editById(UserInfo userInfo);

    UserInfo getOneById(Long userId);

    Map<String,Object> wxLogin(WxLoginBodyVo wxLoginBodyVo) throws Exception;

    AjaxResult wxLoginByPhone(WxLoginUserInfoVo wxLoginUserInfoVo);

    String wxLoginByUserId(Long userId);

    AjaxResult addFamilyMemberInfo(FamilyPersonVo familyPersonVo);

    AjaxResult addWxLoginUserInfo(UserInfo wxLoginUserInfo);
}
